//
// Created by fazhehy on 2024/7/11.
//

#ifndef IMU_H
#define IMU_H

#include "hy_common_inc.h"

extern float mag_cali[360];
extern uint8_t mag_cali_flag;
extern uint16_t imu_time;
extern float raw_mx, raw_my, raw_mz, raw_gz;

void mag_calibration(uint8_t mode);
void imu_callback();
void imu_init();

#endif //IMU_H
